package com.chencs.common.lmadmin.mapper;

import com.chencs.vo.biz.lianmeng.LmProduct;
import com.chencs.vo.biz.lianmeng.LmSubject;
import com.chencs.vo.biz.lianmeng.LmSubject_Pro;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface LmWebSubjectMapper {

     List<LmSubject> subjec_List();

     List<LmProduct> getProductBySid(String sid);

     LmSubject findSubjectBySid(String id);


     void delSubjectProById(String id);

     void delSubjectProBySid(String sid);

     void delSubjectBySid(String sid);

     void insertSubject(LmSubject subject);

     void insertSubjectPro(LmSubject_Pro subject_pro);

     void updateSubject(LmSubject subject);



}
